Better not use is_callable() when ! is_null() would be sufficient.

Signed-off-by: crynobone <crynobone@gmail.com>