def has_layer(self, class_: Type[L], became: bool=True) -> bool:
return (class_ in self._index or<EOL>(became and class_ in self._transformed))<EOL>
Test the presence of a given layer type.

:param class_: Layer class you're interested in.
:param became: Allow transformed layers in results