Added isEnabled method