Extracting a method to check if a candidate type is suitable (not null/nothing)