How to know if the independent values are function?