WB.Layout.find_dir_by_basename

You're seeing just the function find_dir_by_basename, go back to WB.Layout module for more information.
Link to this function

find_dir_by_basename(resources, needle)