original_docstring:  Checks to see if account exists. This procedure does not check it's status.
  
      :param account: Name of the account.
      :param session: the database session in use.
  
      :returns: True if found, otherwise false.
      
docstring: Checks to see if account exists. This procedure does not check it's status.
docstring_tokens: Checks to see if account exists . This procedure does not check it ' s status .
code: def account_exists(account, session=None):
      """ Checks to see if account exists. This procedure does not check it's status.
  
      :param account: Name of the account.
      :param session: the database session in use.
  
      :returns: True if found, otherwise false.
      """
  
      query = session.query(models.Account).filter_by(account=account, status=AccountStatus.ACTIVE)
  
      return True if query.first() else False
code_tokens: def account_exists ( account , session = None ) : query = session . query ( models . Account ) . filter_by ( account = account , status = AccountStatus . ACTIVE ) return True if query . first ( ) else False
short_docstring: Checks to see if account exists.
short_docstring_tokens: Checks to see if account exists .
comment: """ Checks to see if account exists. This procedure does not check it's status.
  
      :param account: Name of the account.
      :param session: the database session in use.
  
      :returns: True if found, otherwise false.
      """