nickhamze/Edit-Flow — comment on commit 8d598a9a60e6f3756daa5a8965c1db0957584d97
File: modules/notifications/notifications.php line 90
By nacin:

While this is okay, I'd instead do a method_exists() check on $screen for add_help_tab(). (The Twenty Eleven theme does exactly this.) It's a more explicit check of the functionality. Plus, if we add some other method to WP_Screen in the future, a class_exists() check won't be enough to verify. It's forward compatible in terms of technical debt.