<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _check_point(self, lat, lng):
 """ Checks if latitude and longitude correct """

        if abs(lat) > 90 or abs(lng) > 180:
            msg = "Illegal lat and/or lng, (%s, %s) provided." % (lat, lng)
            raise IllegalPointException(msg)