public function is_enabled() {
		$enabled = false;

		// Enabled if this plugin is installed as a regular WordPress plugin.
		$plugin_path = untrailingslashit( ABSPATH ) . DIRECTORY_SEPARATOR . 'wp-content' . DIRECTORY_SEPARATOR . 'plugins';
		$current_dir = $this->current_dir();
		if ( false !== strpos( $current_dir, $plugin_path ) ) {
			$enabled = true;
		}

		// Enabled if the CARBON_BREADCRUMB_ENABLE_ADMIN is defined as `true`.
		if ( defined( 'CARBON_BREADCRUMB_ENABLE_ADMIN' ) && CARBON_BREADCRUMB_ENABLE_ADMIN ) {
			$enabled = true;
		}

		// Allow manual enabling/disabling.
		return apply_filters( 'carbon_breadcrumb_enable_admin', $enabled );
	}