from typing import Dict
from typing import List
from typing import Tuple
from typing import Optional


def check_species(mol: Dict, species: List[str]) -> Tuple[bool, Optional[str]]:
    """
    Check whether molecule contains species given in `species`.

    Args:
        mol (Dict): A dictionary representing a molecule entry in LIBE
        species (List[str]): List of species to not allow in molecules

    Returns:
        Tuple[bool, Optional[str]]: if one of the disallowed species is included
        in this molecule, returns True and that specie; otherwise, returns
        False and None
    """
    for s in species:
        if s in mol["species"]:
            return True, s
    return False, None