public static function searchValue(array $values, $value, $returnKey = false)
    {
        foreach ($values as $k => $each) {
            if ($each['value'] === $value) {
                return $returnKey ? $k : $each;
            }
        }

        return false;
    }