added truthy option to types of checks