def can_embed(bin_msg: str, width: int, height: int) -> bool:
    """Determines whether the image can hold the message.

    Parameters:
    -----------
    bin_msg:
        string: A string of 1's and 0's representing the characters in the msg.
    width:
        int: The width of the image.
    height:
        int: The height of the image.

    Returns:
    --------
    embed
        boolean: States whether the message can fit in the specified image.
    """

    embed = len(bin_msg) + 8 < 3 * width * height # + 8 for terminating 00000000
    return embed