def isTrivialDep(A, B):
    """
    Determine if A ==> B is a trivial functional dependency.
    A ==> B is trivial if B is a subset of A

    @params: A is a list, B is a list
    """
    return set(B).issubset(set(A))