func contains(expected string, values []string) bool {
	for _, v := range values {
		if v == expected {
			return true
		}
	}
	return false
}
Checks whether the expected capability is specified in the capabilities.
package configs
import (
	"encoding/json"
	"fmt"
	"os"
	"path/filepath"
	"testing"
)