def check_src_crs(src):

    """
    Checks a rasterio open() instance

    Args:
        src (object): A `rasterio.open` instance.

    Returns:
        ``rasterio.crs.CRS``
    """

    return src.crs if src.crs else src.gcps[1]