code: def get_hook_model():
      
      from rest_hooks.models import Hook
      HookModel = Hook
      if getattr(settings, 'HOOK_CUSTOM_MODEL', None):
          HookModel = get_module(settings.HOOK_CUSTOM_MODEL)
      return HookModel
docs: Returns the Custom Hook model if defined in settings,
      otherwise the default Hook model.