def has_time_coord(wrfnc):
    """Return True if the input file or sequence contains the time 
    coordinate variable.
    
    The time coordinate is named 'XTIME'.
    
    Args:
    
        wrfnc (:class:`netCDF4.Dataset` or :class:`Nio.NioFile`): A single 
            NetCDF file object.
        
    Returns:
    
        :obj:`bool`: True if the netcdf file contains the time coordinate 
        variable, False otherwise.
    
    """
    return "XTIME" in wrfnc.variables