Finished cleaning up the Procedure code block and typed up the Boolean function as well.  Tested the Boolean function and verified it works in all instances.