Adding support for 'enabled' command.

Allows a user to determine if an input element is enabled or not by
calling ‘isEnabled’.