Boolean Function

Revised  boolean function because I was writing what I wanted to be my
procedure