Issue #2494025 by joshi.rohit100, lolandese: Replace Drupal's module_exists() with PHP's function_exists()