def METHOD_NAME(user):
	if not user:
		user = frappe.session.user
	if user == "Administrator":
		return None
	from frappe.utils.user import UserPermissions
	user = UserPermissions(user)
	if "System Manager" in user.roles:
		return None
	reports = [frappe.db.escape(report) for report in user.get_all_reports().keys()]
	return """`tabPrepared Report`.report_name in ({reports})""".format(reports=",".join(reports))