Cant use isset or empty for the result of a function.