Why the check of == NO instead of !, considering this is a logical value?