def METHOD_NAME(self):
    with tempfile.NamedTemporaryFile(suffix='.txt') as file:
        file.write(b'\n')
        file.flush()
        self.assertFalse(encryption.is_encrypted_file(file.name))
    with tempfile.NamedTemporaryFile(suffix='.gpg') as file:
        file.flush()
        self.assertTrue(encryption.is_encrypted_file(file.name))
    with tempfile.NamedTemporaryFile(suffix='.asc') as file:
        file.write(b'Anything else\n')
        file.flush()
        self.assertFalse(encryption.is_encrypted_file(file.name))
    with tempfile.NamedTemporaryFile(suffix='.asc') as file:
        file.write(b'\n\n\n')
        file.write(b'-----BEGIN PGP MESSAGE-----\n')
        file.write(b'\n\n\n')
        file.flush()
        self.assertTrue(encryption.is_encrypted_file(file.name))