FLUID-5201: Added an isActivePanel function

The isActivePanel replaces the isPanel function testing the actual component instead of just some set of it's options, which may not include all of the configuration.