def check_cohesiveness(gdf, p, region, eps):
    """Checks if point p is within distance eps from at least one of the points in the region.
    
    Args:
         gdf: A GeoDataFrame containing the input points.
         p: Location of the point to examine.
         region: A list with the the identifiers of the points currently in the region.
         eps: The distance threshold.
                  
    Returns:
         A Boolean value.
    """

    for idx, row in gdf.loc[gdf.index.isin(region)].iterrows():
        if (p.distance(row['geometry']) < eps):
            return True
    return False