is_votable

astropy.io.votable.is_votable(source)[source] [edit on github]

Reads the header of a file to determine if it is a VOTable file.

Parameters:
source : str or readable file-like object

Path or file object containing a VOTABLE xml file.

Returns:
is_votable : bool

Returns True if the given file is a VOTable file.