def repetitive_pattern(path):
    """
    The repetitive_pattern function reviews the path of a page and checks to see if the
    path has repeated folders in it
    
    Args:
        path (str): A string representing the path of a page
    
    Returns:
        A boolean indicating if the path has a repeat within it
    """
    # Checks if a path is not present
    if not path:
        return False
    
    # Splits the path into its components
    if path[-1] == '/':
        path_list = path[1:-1].split('/')
    else:
        path_list = path[1:].split('/')
    
    # Checks if there are repeates in the path
    if len(path_list) != len(set(path_list)):
        return True
    else:
        return False