new_contents: from __future__ import print_function, absolute_import, division
  
  import imgaug as ia
  
  
  class Dummy1(object):
      @ia.deprecated(alt_func="Foo")
      def __init__(self):
          pass
  
  
  class Dummy2(object):
      @ia.deprecated(alt_func="Foo", comment="Some example comment.")
      def __init__(self):
          pass
  
  
  class Dummy3(object):
      def __init__(self):
          pass
  
      @ia.deprecated(alt_func="bar()",
                     comment="Some example comment.")
      def foo(self):
          pass
  
  
  @ia.deprecated(alt_func="bar()", comment="Some example comment.")
  def foo():
      pass
  
  
  def main():
      Dummy1()
      Dummy2()
      Dummy3()
      foo()
  
  
  if __name__ == "__main__":
      main()
  
subject: Add check script to test 'deprecated' decorator