function hasCorrectLocation(tokens, expectedLocation) {
      switch (expectedLocation) {
        case 'after-tag':
          return tokens.tag.line === tokens.closing.line;
        case 'after-props':
          return tokens.lastProp.lastLine === tokens.closing.line;
        case 'props-aligned':
        case 'tag-aligned':
        case 'line-aligned': {
          const correctColumn = getCorrectColumn(tokens, expectedLocation);
          return correctColumn === tokens.closing.column;
        }
        default:
          return true;
      }
    }
Check if the closing bracket is correctly located
@param {Object} tokens Locations of the opening bracket, closing bracket and last prop
@param {string} expectedLocation Expected location for the closing bracket
@return {boolean} True if the closing bracket is correctly located, false if not