code: def magic(self, alias):
          
          if alias in self.aliases:
              return self.aliases[alias]
          else:
              return "%%{}\n".format(alias)
docs: Returns the appropriate IPython code magic when
          called with an alias for a language.