def constants(self):
        if isinstance(self.function, AbstractVariableExpression):
            function_constants = set()
        else:
            function_constants = self.function.constants()
        return function_constants | self.argument.constants()
:see: Expression.constants()
dataset/ETHPy150Open nltk/nltk/nltk/sem/logic.py/ApplicationExpression.constants