Make function return false or true.