I\'ve seen some PHP statements that go something like
if($variable) {} or if(function()) {} (if statements that don\'t compare two variables)
if(function()) {} means if the function function's return value is true or true-like then the block will execute.
if(function()) {}