def is_nested_list(mlist):
    """Is a list nested?

    Args:
        l ([list]): A Python list.

    Returns:
        [bool]: 1 is is a nested list, 0 is not and -1 is not a list.

    Examples:
        >>> from ee_extra import is_nested_list
        >>> is_nested_list([1,2,3])
        >>> # 0
        >>> is_nested_list([1,[2],3])
        >>> # 1
        >>> is_nested_list("Lesly")
        >>> # -1
    """
    if not isinstance(mlist, list):
        return -1  # is not a list
    if not any([isinstance(line, list) for line in mlist]):
        return 0  # if a list but not nested
    else:
        return 1