def has(auth, xsitype, project=None):
path = "<STR_LIT>"<EOL>params = {<EOL>"<STR_LIT>": xsitype,<EOL>"<STR_LIT>": '<STR_LIT>'<EOL>}<EOL>if project:<EOL><INDENT>params["<STR_LIT>"] = project<EOL><DEDENT>url,result = _get(auth, path, Format.JSON, autobox=True, params=params)<EOL>try:<EOL><INDENT>__quick_validate(result)<EOL><DEDENT>except ResultSetError as e:<EOL><INDENT>raise ResultSetError("<STR_LIT>" % (e.message, url))<EOL><DEDENT>if int(result["<STR_LIT>"]["<STR_LIT>"]) == <NUM_LIT:0>:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Test if a project contains any items of a particular xsi:type.

Example:
    >>> import yaxil
    >>> auth = yaxil.XnatAuth(url='...', username='...', password='...')
    >>> yaxil.has(auth, 'neuroinfo:extendedboldqc', project='MyProject')

:param auth: XNAT authentication
:type auth: :mod:`yaxil.XnatAuth`
:param xsitype: XNAT xsi:type
:param xsitype: str
:param project: XNAT Project
:type project: str
:returns: True or False
:rtype: bool