def METHOD_NAME(self):
    seq = super(NRF52, self).METHOD_NAME()
    # Must check whether security is enabled, and potentially auto-unlock, before
    # any init tasks that require system bus access.
    seq.wrap_task('discovery',
        lambda seq: seq.insert_before('find_components',
                          ('check_ctrl_ap_idr', self.check_ctrl_ap_idr),
                          ('check_flash_security', self.check_flash_security),
                      )
        )
    seq.wrap_task('discovery',
        lambda seq: seq.insert_after('create_cores',
                          ('check_part_info', self.check_part_info),
                          ('persist_unlock', self.persist_unlock),
                      )
        )
    return seq