def check_valid_coors(coords):
    """Check if the given coords of the polygon are valid

    Parameters
    ----------
    coords : numpy array
        a list of coordinates, shape = (8,)

    Returns
    ------
    bool
        whether all coordinates are valid or not
    """
    for i in coords:
        if i < 0:
            return False
    return True