Checks if a certain position is within the world bounds.
Here's a trick you can do to achieve the behavior of this function on the client.
(This may be less efficient than the serverside function itself)