Using pattern matching for Option handling check
Using pattern matching for Booleans check (lol, I know :))