function verifyOwner(bytes32 patternid, address owner, uint8 v, bytes32 r, bytes32 s)
      public
      view
      returns(bool)
    {
      
      require(Pattern[patternid].owner != address(0));

      
      bytes32 h = prefixedHash2(owner);
      address owner2 = ecrecover(h, v, r, s);

      require(owner2 == owner);

      
      if(Pattern[patternid].owner == owner2){
        return true;
      }else{
        return false;
      }
    }