Added getter to see if a memory pool is shared
Added getter to see if a memory pool is shared


Former-commit-id: bd1d3c1ce2c94a51a4a66866338f1df14e512054
danielhers/dynet,clab/cnn,danielhers/dynet,chunyang-wen/dynet,danielhers/dynet,shuheik/dynet,xunzhang/dynet,clab/dynet,clab/dynet,danielhers/dynet,chunyang-wen/dynet,shuheik/dynet,danielhers/dynet,shuheik/dynet,shuheik/dynet,danielhers/dynet,xunzhang/dynet,chunyang-wen/dynet,clab/dynet,shuheik/dynet,clab/cnn,danielhers/dynet,clab/dynet,clab/dynet,chunyang-wen/dynet,shuheik/dynet,clab/cnn,clab/dynet,xunzhang/dynet,shuheik/dynet,clab/dynet,xunzhang/dynet