DId a type check on boolean

My head hurts im done for today