Add fn #check-directory to 'note' namespace.