解锁进程，实现unique

@param string $name
@return boolean
428034
private static function unlockProcess($name)
    {
        if(!isset(static::$lockMap[$name]))
        {
            return false;
        }
        if(flock(static::$lockMap[$name]['fp'], LOCK_UN) && fclose(static::$lockMap[$name]['fp']))
        {
            unlink(static::$lockMap[$name]['fileName']);
            unset(static::$lockMap[$name]);
            return true;
        }
        return false;
    }
1054647
public function hasParameter(string $name): bool
    {
        return isset($this->parameters[$name]) || array_key_exists($name, $this->parameters);
    }
863307
public function __isset($name)
	{
		if (method_exists($this, 'get_' . $name) || isset($this->$name))
		{
			return true;
		}
		else
		{
			return false;
		}
	}
163526
public function has($name)
        {
            return Arrays::exists($name, $this->options) && false === empty($this->options[$name]) ;
        }
213367
public function has($name)
    {
        $path = explode('.', $name);
        $key = array_shift($path);

        if ($this->checkCache($key)) {
            return $path ? $this->cache[$key]->has($path) : true;
        }

        return false;
    }
77610
public function create($name)
    {
        if (!is_string($name) || strlen($name) >= 30) {
            $this->setError('参数错误,请传入字符串或名字的长度不能大于30字符');

            return false;
        }

        $queryStr = [
            'group' => ['name' => $name],
        ];

        $res = $this->_post('create', $queryStr);

        return $res;
    }
530019
public function has($name)
    {
        $names = is_array($name) ? $name : func_get_args();

        foreach ($names as $value) {
            if (! $this->routes->hasNamedRoute($value)) {
                return false;
            }
        }

        return true;
    }
80394
public function has(string $name): bool
	{
		return isset($this->headers[$this->normalizeName($name)]);
	}
70494
public function hasEphemeral($name)
    {
        $ephemeral = $this->get(self::EPHEMERAL);

        return isset($ephemeral[$name]);
    }
1112807
public function has(string $name) : bool
  {
    if (isset($this->all[$name])) return true;
    return false;
  }
232822
public function has($name)
    {
        $name = strtolower((string) $name);

        $mapping = $this->getMapping();

        return isset($mapping[$name]);
    }
202266
private function _uniqueCorrelation($name)
    {
        if (is_array($name)) {
            $c = end($name);
        } else {
            // Extract just the last name of a qualified table name
            $dot = strrpos($name,'.');
            $c = ($dot === false) ? $name : substr($name, $dot+1);
        }
        for ($i = 2; array_key_exists($c, $this->_parts[self::FROM]); ++$i) {
            $c = $name . '_' . (string) $i;
        }
        return $c;
    }
111828
public function hasField( $name )
	{
		$name	= strtolower( $name );
		if( isset( $this->fields[$name] ) )
			return (bool) count( $this->fields[$name] );
	}
52853
public function __isset($name)
    {
        // 存在字段映射，则被映射的对象属性必能访问
        if($this->columnMap && key_exists($name, $this->columnMap)) {
            // 显式声明属性名
            $attr = $this->columnMap[$name];
            return !is_null($this->$attr);
        }

        return key_exists($name, $this->attrs);
    }
1226528
public function has($name)
    {
        if (! isset($this->instances[$name])) {
            return isset($this->registry[$name]);
        }

        return true;
    }
346905
protected function flagExists(string $name): bool
    {
        $flags = $this->getFlags();

        return isset($flags[$name]);
    }
309093
public function has($name): bool
    {
        return isset($this->values[$name]) ||
            isset($this->factory[$name]) ||
            isset($this->alias[$name]) ||
            \array_key_exists($name, $this->values);
    }