Improved is_callable