'only administrator can save standard report'

def validate(self):

    if (not self.module):
        self.module = frappe.db.get_value(u'DocType', self.ref_doctype, u'module')
    if (not self.is_standard):
        self.is_standard = u'No'
        if ((frappe.session.user == u'Administrator') and (getattr(frappe.local.conf, u'developer_mode', 0) == 1)):
            self.is_standard = u'Yes'
    if ((self.is_standard == u'No') and (frappe.db.get_value(u'Report', self.name, u'is_standard') == u'Yes')):
        frappe.throw(_(u'Cannot    edit    a    standard    report.    Please    duplicate    and    create    a    new    report'))
    if ((self.is_standard == u'Yes') and (frappe.session.user != u'Administrator')):
        frappe.throw(_(u'Only    Administrator    can    save    a    standard    report.    Please    rename    and    save.'))
    if ((self.report_type in (u'Query    Report', u'Script    Report')) and (frappe.session.user != u'Administrator')):
        frappe.throw(_(u'Only    Administrator    allowed    to    create    Query    /    Script    Reports'))
    if (self.report_type == u'Report    Builder'):
        self.update_report_json()
