Removed ternary stuff
class-events-toolkit-custom-post-type.php

Added check if post_type_exists