class_docstr: Represents an Airflow user which has roles assigned to it.
class_docstr_tok: ["Represents","an","Airflow","user","which","has","roles","assigned","to","it","."]
code: def is_active(self):
      return self.active
  
imports: from __future__ import annotations
  import datetime
  from typing import TYPE_CHECKING
  from flask import current_app, g
  from flask_appbuilder.models.sqla import Model
  from sqlalchemy import Boolean, Column, DateTime, ForeignKey, Index, Integer, String, Table, UniqueConstraint, event, func, select
  from sqlalchemy.orm import backref, declared_attr, relationship
  from airflow.auth.managers.models.base_user import BaseUser
  from airflow.models.base import Base
label_desc: Use image node_id 5 for calling the User obj's underlying member method code with example usage: obj.is_active() and returns: self