docstr: Provides information whether a valid bearer token is available or not. Returns true if available
  otherwise false
  
  Returns
  bool
docstr_tok: ["Provides","information","whether","a","valid","bearer","token","is","available","or","not",".","Returns","true","if","available","otherwise","false","Returns","bool"]
code: def check_bearer_token_validity(self) -> bool:
      """
      Provides information whether a valid bearer token is available or not. Returns true if available
      otherwise false
  
      Returns
      bool
      """
      if (
          self.is_connected
          and datetime.now(timezone.utc).astimezone().timestamp()
          < self.expiration_time
      ):
          return True
      else:
          return False
  
imports: from datetime import datetime, timezone
  from typing import Text, List, Dict, Any
  from mindsdb.integrations.handlers.sharepoint_handler.utils import bearer_token_request, get_an_entity, delete_an_entity, update_an_entity, create_an_entity
label_desc: Use image node_id 3 for calling the SharepointAPI obj's underlying member method code with example usage: obj.check_bearer_token_validity() and returns: True, False