code: def has_metadata(python_module):
      
      init_path = '{}/__init__.py'.format(python_module)
      has_metadata = (
          exists(init_path)
          and attributes.has_attribute(python_module, '__version__')
          and attributes.has_attribute(python_module, '__url__')
      )
      return report_and_raise(
          'Has module metadata',
          has_metadata,
          'Your %s/__init__.py must contain __version__ and __url__ attributes',
      )
docs: `<module_name>/__init__.py` with `__version__` and `__url__`