def get_expire(name):
 policies = _get_account_policy(name)
 if ('hardExpireDateGMT' in policies):
  return policies['hardExpireDateGMT']
 return 'Value not set'

def get_expire ( name ) : policies = _get_account_policy ( name ) if ( 'hardExpireDateGMT' in policies ) : return policies [ 'hardExpireDateGMT' ] return 'Value not set'
gets the date on which the account expires .