code: def point_in_polygon(point, poly):
      
      coords = [poly['coordinates']] if poly[
          'type'] == 'Polygon' else poly['coordinates']
      return _point_in_polygon(point, coords)
docs: valid whether the point is located in a polygon
  
      Keyword arguments:
      point -- point geojson object
      poly  -- polygon geojson object
  
      if(point inside poly) return true else false