Be careful with some answers here, is_inside_postgis and is_inside_sm algorithms produces wrong results! I stopped at mathplotlib.path.Path(..).contains_points(..) variant as the safest for correct results.
is_inside_postgis
is_inside_sm
mathplotlib.path.Path(..).contains_points(..)