When calling somethings, checks that it is function or method.