code: function(command) {
  				var name = 'align' + command.substring(7);
  				var nodes = selection.isCollapsed() ? [dom.getParent(selection.getNode(), dom.isBlock)] : selection.getSelectedBlocks();
  				var matches = tinymce.map(nodes, function(node) {
  					return !!formatter.matchNode(node, name);
  				});
  				return tinymce.inArray(matches, TRUE) !== -1;
  			}
docs: Override justify commands