function isOnGround(player) {
  return distanceToGround(player) == 0;
}
Is the given entity on the ground?
In other words, is their distance to the ground equal to zero/
@param {*} player player
@returns is the player on the ground