Created the has_callback function in the teal_behaviours module.
Wrote test for the has_callback function.