if you intend to use the function in WHERE expressions. Absolutely, absolutely!!! Specify equality.
Example:
function my_function()
{
if (/** condition */) {
/** code... */
}
return false;
}
"SELECT * FROM _table WHERE my_function() = 1"
If this is not done, then hallucinations with sampling begin.