code: def build_data_availability(datasets_json):
      
      data_availability = None
      if 'availability' in datasets_json and datasets_json.get('availability'):
          # only expect one paragraph of text
          data_availability = datasets_json.get('availability')[0].get('text')
      return data_availability
docs: Given datasets in JSON format, get the data availability from it if present