code: def _is_leap(year):
      year = int(year)
      return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0)
  
file_path: statsmodels/statsmodels/tsa/base/datetools.py
imports: from statsmodels.compat.python import asstr, lmap, lrange, lzip
  import datetime
  import re
  import numpy
  from pandas import to_datetime
label_desc: Use image node_id 1 for calling a global function with example usage: _is_leap(year) and returns: unknown