def is_equal_or_contians(url1, url2):
    """ Check if two url is the same or contains each other

    Args:
        url1:
        url2:

    Returns: true or false

    """
    return url1 == url2 or url1 in url2 or url2 in url1