Checks if the given file (as relative path to current directory) contains a valid Declarative Pipeline. Returns true | false.