Added method _is_function_class_equation

    Tests if the given equation is a equation of the given function class.
    The function class can be C.TrigonometricFunction or C.HyperbolicFunction.
    An equation is said to belog to the function class if it made up from the
    addition or multiplication of functions beloging to the function class and
    constants.