I am checking if an element is displayed. My assertion was returning false and I found out it is because the element is disabled.  

I would like to check if the element is displayed whether it is enabled or disabled.

My code snippet is (from our framework the method to check if element is displayed):

```
public bool IsElementPresent(IWebDriver browser, IWebElement element)
        {
            return utility.Element.IsDisplayed(element).Invoke(browser);
        }

public Func<IWebDriver, bool> IsDisplayed(IWebElement element)
        {
            return driver =>
            {
                try
                {
                    return element.Displayed;
                }
                catch (Exception e)
                {
                    MessageHandler.OutputError(e);
                    return false;
                }
            };
        }

```

Code snippet of the method which calls IsElementPresent:

```
public void CheckSportsLoginDialogIsDisplayed()
        {
            Actions.Verify.IsElementPresent(Browser, SportsLogin).Should().BeTrue();
       }

```

The locator:

```
[FindsBy(How = How.CssSelector, Using = "input.loginButton.submitButton.loginSubmit")]
private IWebElement SportsLogin { get; set; }

```

The HTML element:

```
<input class="loginButton submitButton loginSubmit disabled" value="Log in" type="submit" disabled="">

```

How do I check this element is present? It does not matter if it is disabled or enabled.
Thanks, 
Riaz