Corrected/Updated return in Boolean Function

Adjusted to give an output not just end the script.