def validate_4326(bbox_list):
    ''' Helper function to validate 4326 '''

    is_valid = False

    if ((-180.0 <= float(bbox_list[0]) <= 180.0) and
        (-90.0 <= float(bbox_list[1]) <= 90.0) and
        (-180.0 <= float(bbox_list[2]) <= 180.0) and
        (float(bbox_list[3]) <= 90.0 <= -90.0)):
        is_valid = True

    return is_valid
dataset/ETHPy150Open geopython/pycsw/pycsw/core/util.py/validate_4326/swapped operands of `<=`