This file is indexed.

/usr/share/pyshared/graphy/util.py is in python-graphy 1.0+dfsg-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
def _IsColor(color):
  """Try to determine if color is a hex color string.  
  Labels that look like hex colors will match too, unfortunately."""
  if not isinstance(color, basestring):
    return False
  color = color.strip('#')
  if len(color) != 3 and len(color) != 6:
    return False
  hex_letters = '0123456789abcdefABCDEF'
  for letter in color:
    if letter not in hex_letters:
      return False
  return True