def _get_consonants(self, sequence: str) -> list:
        """
        Returns list of consonants in provided string
        """
        consonants = []
        for char in sequence:
            if char in CONSONANTS:
                consonants.append(char)
        return consonants

        Returns list of consonants in provided string
        
faker/providers/ssn/it_IT/__init__.py