Fix is_enabled method as classmethod.

1 job for noc-522 in 12 seconds (queued for 2 seconds)