getWorkspaceFolder  
  Returns the workspace folder that contains a given uri.
returns
undefinedwhen the given uri doesn't match any workspace folderreturns the input when the given uri is a workspace folder itself
Parameters
uri
An uri.